insert into dcuser (DcUserId, Login, Password, FullName, AutomaticPass, AllowDeputyNotification, Department, 
	InstantMessaging, ImAddress, ChangePwdNextTime, ExternalAuthorization, ExternalIdentity) values   
	(default, 'TestUser90', password('1'),'Test Test User90', false, true, @commonDept, true, 'testuser90@im.test.org', false, false, '');  
set @User90Id:=last_insert_id();  

insert into UserEmail (DcUser,UserEmail) values (@User90Id, 'test901@test.ru'),  
	(@User90Id, 'test902@test.ru');  
insert into roleToUser (DcRole, DcUser, Position) values (@TestUsersRoleId, @User90Id, 1);
insert into Deputy (DcUser, Deputy, Notify) Values (@User90Id, @User1Id, true);
